﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using StudentAttendanceChecking.Controls;

namespace StudentAttendanceChecking
{
    public partial class frmManager : Form
    {
        public frmManager()
        {
            InitializeComponent();
            frmListStudent fListStudent = new frmListStudent();
            fListStudent.MdiParent = this;
            fListStudent.WindowState = FormWindowState.Maximized;
            fListStudent.Show();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            frmNewBranch frm = new frmNewBranch();
            frm.ShowDialog();
        }

        private void frmManager_Load(object sender, EventArgs e)
        {
            TreeMain.loadTreeMain(tvMain);                        
        }

    }
}
